package com.grad.why.studentsystem.domain;

public class Course implements java.io.Serializable{
    private Integer courseid;

    private String coursename;

    private Float coursescore;

    private Integer coursetime;

    private String coursetype;

    private Integer courseteacher;

    private Integer coursestartweek;

    private Integer courseendweek;

    private String coursestate;

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename == null ? null : coursename.trim();
    }

    public Float getCoursescore() {
        return coursescore;
    }

    public void setCoursescore(Float coursescore) {
        this.coursescore = coursescore;
    }

    public Integer getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(Integer coursetime) {
        this.coursetime = coursetime;
    }

    public String getCoursetype() {
        return coursetype;
    }

    public void setCoursetype(String coursetype) {
        this.coursetype = coursetype == null ? null : coursetype.trim();
    }

    public Integer getCourseteacher() {
        return courseteacher;
    }

    public void setCourseteacher(Integer courseteacher) {
        this.courseteacher = courseteacher;
    }

    public Integer getCoursestartweek() {
        return coursestartweek;
    }

    public void setCoursestartweek(Integer coursestartweek) {
        this.coursestartweek = coursestartweek;
    }

    public Integer getCourseendweek() {
        return courseendweek;
    }

    public void setCourseendweek(Integer courseendweek) {
        this.courseendweek = courseendweek;
    }

    public String getCoursestate() {
        return coursestate;
    }

    public void setCoursestate(String coursestate) {
        this.coursestate = coursestate == null ? null : coursestate.trim();
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseid=" + courseid +
                ", coursename='" + coursename + '\'' +
                ", coursescore=" + coursescore +
                ", coursetime=" + coursetime +
                ", coursetype='" + coursetype + '\'' +
                ", courseteacher=" + courseteacher +
                ", coursestartweek=" + coursestartweek +
                ", courseendweek=" + courseendweek +
                ", coursestate='" + coursestate + '\'' +
                '}';
    }
}